/**
 * sysDicService
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:数据字典管理
 * 
 * 历史版本:2017-03-27 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysDic.service;

import com.fmjr.common.base.exception.BusinessException;
import com.fmjr.common.base.util.Pager;
import com.fmjr.sys.sysDic.bean.SysDic;

import java.util.List;


public interface ISysDicService{

	/**
	 * 根据条件查询数据字典记录
	 * @author lunli
	 * @param   pager
	 * @return SysDicList
	 * @throws BusinessException
	 */
	public void selectSysDicList(Pager<SysDic> pager) throws BusinessException;
	
	/**
	 * 根据ID查询数据字典记录
	 * @author lunli
	 * @param  id
	 * @return SysDic
	 * @throws BusinessException
	 */
	public SysDic selectSysDicById(Long id) throws BusinessException;

	/**
	 *  删除数据字典记录
	 * @author lunli	 
	 * @param id
	 * @throws BusinessException
	 */
	public int deleteSysDicById(Long id) throws BusinessException;
	
	/**
	 * 修改数据字典记录
	 * @author lunli
	 * @param sysDic
	 * @throws BusinessException
	 */
	public int updateSysDic(SysDic sysDic) throws BusinessException;

	/**
	 * 新增数据字典记录
	 * @author lunli
	 * @param sysDic
	 * @return
	 * @throws BusinessException
	 */
	public int createSysDic(SysDic sysDic) throws BusinessException;

	public List<SysDic> selectSysDicAll() throws BusinessException;
	
	
	public List<SysDic> selectDicByType(String type) throws BusinessException;

}
